using Zhaoxi.MSACommerce.BrandService.Core.Enums;
using ZhaoXi.MSACommerce.SharedKenel.Domain;

namespace Zhaoxi.MSACommerce.ProductService.Core.Entities;

public class Spu: BaseAuditEntity, IAggregateRoot
{
    public string Name { get; set; } = null !;

    public string Description { get; set; } = null !;

    public long CategoryId { get; set; }

    public long BrandId { get; set; }

    public Status Status { get; set; }

    public SpuDetail Detail { get; set; }

    public ICollection<Sku> Skus { get; set; } 
}